package com.tledu.springboot04.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface IBaseService<T> {
    void insert(T entity);

    void update(T entity);

    void delete(Integer id);

    T selectById(Integer id);

    List<T> list(T condition);
}
